package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author wei
 * @create 2023-02-17 11:47
 */
@ApiModel(value = "资产处理里的资产列表")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetsVO {
    @ApiModelProperty(name = "assetsId",notes = "资产主键ID")
    private Long assetsId;

    @ApiModelProperty(name = "assetsState",notes = "资产状态(1:闲置，2:领用，3:借用，4:调拨中，5:损坏，6:报修，7:维修中，8:报废)")
    private Integer assetsState;

    @ApiModelProperty(name = "assetsSignatureStatus",notes = "资产签字状态")
    private String assetsSignatureStatus;

    @ApiModelProperty(name = "assetsPhoto",notes = "资产照片")
    private String assetsPhoto;

    @ApiModelProperty(name = "assetsCode",notes = "资产编码")
    private String assetsCode;

    @ApiModelProperty(name = "assetsName",notes = "资产名称")
    private String assetsName;

    @ApiModelProperty(name = "assetsRFID",notes = "资产的RFID")
    private String assetsRFID;

    @ApiModelProperty(name = "typeName",notes = "资产类别")
    private String typeName;

    @ApiModelProperty(name = "modelName",notes = "规格型号")
    private String modelName;

    @ApiModelProperty(name = "assetsLabel",notes = "资产标签")
    private String assetsLabel;

    @ApiModelProperty(name = "assetsSerialNumber",notes = "资产序列号(SN号)")
    private String assetsSerialNumber;

    @ApiModelProperty(name = "unit",notes = "计量单位")
    private String unit;

    @ApiModelProperty(name = "assetsMoney",notes = "资产金额")
    private BigDecimal assetsMoney;

    @ApiModelProperty(name = "companyName",notes = "资产使用公司")
    private String companyName;

    @ApiModelProperty(name = "departmentName",notes = "资产使用部门")
    private String departmentName;

    @ApiModelProperty(name = "employeeName",notes = "资产使用人")
    private String employeeName;

    @ApiModelProperty(name = "assetsRegionName",notes = "资产区域名称")
    private String assetsRegionName;

    @ApiModelProperty(name = "assetsStorageLocation",notes = "资产存放地")
    private String assetsStorageLocation;

    @ApiModelProperty(name = "assetsManager",notes = "资产管理员")
    private String assetsManager;

    @ApiModelProperty(name = "assetsAdmin",notes = "资产所属公司")
    private String assetsAdmin;

    @ApiModelProperty(name = "assetsPurchaseDate",notes = "资产购入日期")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp assetsPurchaseDate;

    @ApiModelProperty(name = "assetsServiceLife",notes = "资产使用期限")
    private Integer assetsServiceLife;

    @ApiModelProperty(name = "assetsSource",notes = "资产来源")
    private String assetsSource;

    @ApiModelProperty(name = "assetsCreater",notes = "资产创建人")
    private String assetsCreater;

    @ApiModelProperty(name = "assetsCreateTime",notes = "资产创建日期")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp assetsCreateTime;

    @ApiModelProperty(name = "assetsReceiptNo",notes = "资产收货单号")
    private String assetsReceiptNo;
}
